diff options
| author | real-zephex <[email protected]> | 2024-04-07 19:30:25 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-07 19:30:25 +0530 |
| commit | 1cca92c67651972e6671bfbd7fee325cccd64690 (patch) | |
| tree | 2c569fcd87048af5d3b2fd23a89b28c50565a109 /src/app/kdrama/[id] | |
| parent | Merge pull request #3 from real-zephex/kdrama-section-rewrite (diff) | |
| parent | idek (diff) | |
| download | dramalama-1cca92c67651972e6671bfbd7fee325cccd64690.tar.xz dramalama-1cca92c67651972e6671bfbd7fee325cccd64690.zip | |
Merge pull request #4 from real-zephex/cloudflare-fix
Cloudflare fix
Diffstat (limited to 'src/app/kdrama/[id]')
| -rw-r--r-- | src/app/kdrama/[id]/page.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/kdrama/[id]/page.jsx b/src/app/kdrama/[id]/page.jsx index baaf24e..8f0fa9c 100644 --- a/src/app/kdrama/[id]/page.jsx +++ b/src/app/kdrama/[id]/page.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import EpisodesButtons from "./buttons"; import PreFetchVideoLinks from "../components/cacher"; +export const runtime = "edge"; + export default async function DramaInfo({ params }) { const id = decodeURIComponent(params.id); const info = await getDramaInfo(id); @@ -16,7 +18,7 @@ export default async function DramaInfo({ params }) { <div className={styles.TitleContainer}> <p>{info.title}</p> <Image - src={info.image} + src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${info.image}`} width={160} height={240} alt="Drama Poster" |